<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	/**
	 功能名称:查看各课程下的子课程信息、实现增删改查功能
	 页面采用技术:JSP,AJAX，JavaScript
	 时间:2010-7-14
	 @author:
	 **/
%>
<%
String path = request.getContextPath();
%>
<html>
  <head>
    <title>课程显示页面</title>
	<link href="<%=path%>/css/index_css.css" rel="stylesheet" type="text/css" />
	<script src="<%=path%>/js/resizeIframe.js" type="text/javascript"></script>
	<script language="javascript" src="<%=path %>/js/syAjax.js"></script>
	<script language="javascript" src="<%=path %>/js/json2.js"></script>
	<script type="text/javascript">
	  window.onload = function(){
	  
	  if('${info}'!="")
		    {
		      alert('${info}');
		    }
      	
      	resizeIframe();
        
          
        
           parent.scroll(0,0);
        }
   
       //显示/隐藏div
       function showOrHidden(Id){			
		if(document.getElementById(Id).style.display=='none'){
			document.getElementById(Id).style.display='';
		}else{
			document.getElementById(Id).style.display='none';
		}
		}
		
		 var yiCourse="";
		 var oldStage="";
		 var sanCourse="";	
	    //获得学科列表(二级课程)
	    function initStage(divName,courseId){
	   	var stageShowListDiv=document.getElementById(divName);
	   	yiCourse=divName;
	   	showOrHidden(divName);
	    //查询学科
	    syAjax.request("post","<%=path%>/findCourseByParentCourseAction.action","course.courseId="+courseId+"&t="+new Date(),{success:initStageResult,fail:onFail,type:'plain'});
	   }
	   
		 //学科处理结果（二级课程）
		 function initStageResult(response){
		  var data = JSON.parse(response);
		  var strHtml="";
		  if(data!=null)
		  {
		    if(data.length>0){ 
		      for(var i=0;i<data.length;i++)
		      {
		            strHtml+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>"+"<tr><td height='25' align='left' valign='top'>";
		            strHtml+="<table width='100%' border='0' cellspacing='1' cellpadding='0' class='tb_7'>";
		            strHtml+="<tr><td width='1%' align='right' valign='bottom'>&nbsp;</td>";
		            strHtml+="<td width='16%' height='25' align='left' valign='bottom'>"+data[i].courseId+"</td>";
		            strHtml+="<td width='68%' align='left' valign='bottom' class='f_4'><a href='javascript:erCoure(&quot;courseShowListDiv"+data[i].courseId+"&quot;,&quot;"+data[i].courseId+"&quot;)' style='text-decoration: none'><img src='<%=path%>/images/bk_10.gif' width='13' height='13' border='0' />&nbsp;&nbsp;"+data[i].name+"</a></td>";
		            strHtml+="<td width='7%' valign='bottom'>"+data[i].sort+"</td>";
		            strHtml+="<td width='8%' valign='bottom' nowrap='nowrap'><a href='javascript:goAdd(&quot;"+data[i].courseId+"&quot;)'><img src='<%=path%>/images/icon_15.gif' width='17' height='16' border='0' /></a> &nbsp;<a href='javascript:goUpdate(&quot;"+data[i].courseId+"&quot;)'><img src='<%=path%>/images/icon_16.gif' width='12' height='14' border='0' /></a>&nbsp; <a href='javascript:doDelete(&quot;"+data[i].courseId+"&quot;)' onclick='return window.confirm(&quot;确定删除此课程？&quot;)'><img src='<%=path%>/images/icon_11.gif' width='12' height='12' border='0' /></a></td>";
		            strHtml+="</tr></table><div id='courseShowListDiv"+data[i].courseId
		            strHtml+="' style='display: none'></div></td></tr></table>";
		      }
		   var stageShowListDiv=document.getElementById(yiCourse);
		   stageShowListDiv.innerHTML=strHtml;
			}
		  }
			resizeIframe();
		 }


     //获得学科列表（三级课程第一单元）
    function erCoure(divName,courseId){
   	var stageShowListDiv=document.getElementById(divName);
   	oldStage=divName;
   	showOrHidden(divName);
  //查询学科
  syAjax.request("post","<%=path %>/findCourseByParentCourseAction.action","course.courseId="+courseId+"&t="+new Date(),{success:erCoureResult,fail:onFail,type:'plain'});
  }
  
 //学科处理结果（三级课程第一单元）
 function erCoureResult(response){
  var data = JSON.parse(response);
  var strHtml="";
  if(data!=null)
  {
    if(data.length>0){ 
      for(var i=0;i<data.length;i++)
      {  
            strHtml+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
            strHtml+="<tr><td height='25' align='left' valign='top'>";
            strHtml+="<table width='100%' border='0' cellspacing='1' cellpadding='0'  class='tb_7'>";
            strHtml+="<tr><td width='1%' align='right' valign='bottom'>&nbsp;</td>";
            strHtml+="<td width='18%' height='25' align='left' valign='bottom'>"+data[i].courseId+"</td>";
            strHtml+="<td width='66%' align='left' valign='bottom' class='f_4'><a href='javascript:sanCoure(&quot;ShowListDiv"+data[i].courseId+"&quot;,&quot;"+data[i].courseId+"&quot;)' style='text-decoration: none'><img src='<%=path%>/images/bk_12.gif' width='15' height='12' border='0' />"+data[i].name+"</a></td>";
            strHtml+="<td width='7%' valign='bottom'>"+data[i].sort+"</td>";
            strHtml+="<td width='8%' valign='bottom' nowrap='nowrap'><a href='javascript:goAdd(&quot;"+data[i].courseId+"&quot;)'><img src='<%=path%>/images/icon_15.gif' width='17' height='16' border='0' /></a> &nbsp;<a href='javascript:goUpdate(&quot;"+data[i].courseId+"&quot;)'><img src='<%=path %>/images/icon_16.gif' width='12' height='14' border='0' /></a>&nbsp; <a href='javascript:doDelete(&quot;"+data[i].courseId+"&quot;)' onclick='return window.confirm(&quot;确定删除此课程？&quot;)'><img src='<%=path%>/images/icon_11.gif' width='12' height='12' border='0' /></a></td>";
            strHtml+="</tr></table><div id='ShowListDiv"+data[i].courseId
		    strHtml+="' style='display: none'></div></td></tr></table>";                     
      }
         var stageShowListDiv=document.getElementById(oldStage);
         stageShowListDiv.innerHTML=strHtml;
  }
	}
	resizeIframe();
 }
 
  //获得学科列表（四级课程第一章）
    function sanCoure(divName,courseId){
   	var stageShowListDiv=document.getElementById(divName);
   	sanCourse=divName;
   	showOrHidden(divName);
  //查询学科
  syAjax.request("post","<%=path %>/findCourseByParentCourseAction.action","course.courseId="+courseId+"&t="+new Date(),{success:sanCoureResult,fail:onFail,type:'plain'});
  }
  
 //学科处理结果（四级课程第一章）
 function sanCoureResult(response){
  var data = JSON.parse(response);
  var strHtml="";
  if(data!=null)
  {
    if(data.length>0){ 
      for(var i=0;i<data.length;i++)
      {  
            strHtml+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
            strHtml+="<tr><td height='25' align='left' valign='top'>";
            strHtml+="<table width='100%' border='0' cellspacing='1' cellpadding='0'  class='tb_7'>";
            strHtml+="<tr><td width='1%' align='right' valign='bottom'>&nbsp;</td>";
            strHtml+="<td width='21%' height='25' align='left' valign='bottom'>"+data[i].courseId+"</td>";
            strHtml+="<td width='63%' align='left' valign='bottom' class='f_4'><img src='<%=path %>/images/bk_14.gif' width='6' height='5' />"+data[i].name+"</td>";
            strHtml+="<td width='7%' valign='bottom'>"+data[i].sort+"</td>";
            strHtml+="<td width='8%' valign='bottom' nowrap='nowrap'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;<a href='javascript:goUpdate(&quot;"+data[i].courseId+"&quot;)'><img src='<%=path%>/images/icon_16.gif' width='12' height='14' border='0' /></a>&nbsp; <a href='javascript:doDelete(&quot;"+data[i].courseId+"&quot;)' onclick='return window.confirm(&quot;确定删除此课程？&quot;)'><img src='<%=path%>/images/icon_11.gif' width='12' height='12' border='0' /></a></td>";
            strHtml+="</tr></table></td></tr></table>";
                              
      }
      var stageShowListDiv=document.getElementById(sanCourse);
	  stageShowListDiv.innerHTML=strHtml;
	}
  }
	resizeIframe();
 }
     
     //跳转
	 function go(url)
	 {
	   window.location.href=url;
	 }
	 
	 //添加子课程
	 function goAdd(courseId)
     {
	  var value=window.showModalDialog("<%=path %>/baseSet/addSubCourse.jsp?courseId="+courseId,'',"dialogHeight:350px;dialogWidth:572px;help=0;scroll=1;");
	 if(value=='true')
	 {
	  window.location.href="<%=path %>/findCourseByParentCourseIdCourseAction.action";// 修改 2010-07-21
	 }
     }
     
     //修改子课程
     function goUpdate(courseId)
     {
	 var value=window.showModalDialog("<%=path %>/baseSet/findCourseByCourseIdCourseAction.action?course.courseId="+courseId,'',"dialogHeight:350px;dialogWidth:572px;help=0;scroll=1;");
	 if(value=='true')
	 {
	  window.location.href="<%=path %>/findCourseByParentCourseIdCourseAction.action";// 修改 2010-07-21
	 }
     }
     
     //修改父课程
     function goUpdateParent(courseId)
     {
	 	var value=window.showModalDialog("<%=path %>/baseSet/findParentCourseByCourseIdCourseAction.action?course.courseId="+courseId+"&t="+new Date(),'',"dialogHeight:530px;dialogWidth:552px;help=0;scroll=1;");
		 if(value=='true')
		 {
		  window.location.href="<%=path %>/findCourseByParentCourseIdCourseAction.action";// 修改 2010-07-21
		 }
     }
     
     //删除课程
     function doDelete(courseId)
     {
       window.location.href="<%=path %>/deleteByCourseIdCourseAction.action?course.courseId="+courseId;
     }
     
     function tdClick(url)
     {
       window.location.href=url;
     }
     
     
     
      //修改父课程
     function goUpdateParent(courseId)
     {
	 	var value=window.showModalDialog("<%=path %>/baseSet/findParentCourseByCourseIdCourseAction.action?course.courseId="+courseId+"&t="+new Date(),'',"dialogHeight:530px;dialogWidth:552px;help=0;scroll=1;");
		 if(value=='true')
		 {
		  window.location.href="<%=path %>/findCourseByParentCourseIdCourseAction.action";// 修改 2010-07-21
		 }
     }
     
     function updateCourseStatus(courseId,status){
     	if(confirm("确定要执行此操作吗？"))
     	window.location.href="<%=path %>/updateCourseStatusCourseAction.action?course.courseId="+courseId+"&course.status="+status;
     }
     

	</script>
  </head>
  <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" align="left" class="f_5">基本设置</td>
  </tr>
  <tr>
    <td height="1" colspan="2" bgcolor="#9DD12E"></td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="2" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left" valign="bottom" background="<%=path%>/images/sywesp_24.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
         
            <td width="70" align="left"><table width="70" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path%>/images/sywesp_18.gif" class="f_6" onclick="tdClick('<%=path %>/getGradeListGradeAndClassAction.action');" style="cursor:pointer;">年级设置</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
             <td width="70" align="left"><table width="100" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path %>/images/sywesp_18.gif" class="f_6" onClick="tdClick('<%=path %>/getGradeListGradeAndClassAction.action?setGraduation=true');" style="cursor:pointer;">毕业年级</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td width="70" align="left"><table width="70" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path %>/images/sywesp_18.gif" class="f_6" onClick="tdClick('<%=path%>/findGradeAndClassBySchoolGradeAndClassAction.action?year=${applicationScope.currentYear}');"" style="cursor:pointer;">班级设置</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td width="85" align="left"><table width="100" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path%>/images/sywesp_18.gif" class="f_6" onclick="tdClick('<%=path %>/getAllYearAndSchoolTermyearAndSchoolTermAction.action');" style="cursor:pointer;">年度学期设置</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td width="70" align="left"><table width="70" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path%>/images/sywesp_25.gif" class="f_9">学科设置</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td width="80" align="left"><table width="80" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path%>/images/sywesp_18.gif" class="f_6" onclick="tdClick('<%=path %>/findAllOrganizationByTypeorganizationAction.action?organization.orgType=1');" style="cursor:pointer;">教研组设置</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td width="70" align="left"><table width="100" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path%>/images/sywesp_18.gif" class="f_6" onclick="tdClick('findAllCodeMaintenanceTypeCodeMaintenanceAction.action');" style="cursor:pointer;">选项配置</td>
                <td width="5" align="right" valign="bottom" background="<%=path%>/images/sywesp_18.gif"><img src="<%=path%>/images/sywesp_19.gif" width="5" height="31" /></td>
              </tr>
            </table></td>
             
            <td width="70" align="left"><table width="70" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path%>/images/sywesp_18.gif" class="f_6" onclick="tdClick('<%=path %>/baseSet/openClose.jsp');" style="cursor:pointer;">开关控制</td>
                <td width="5" align="right" valign="bottom" background="<%=path%>/images/sywesp_18.gif"><img src="<%=path%>/images/sywesp_19.gif" width="5" height="31" /></td>
              </tr>
            </table></td>
             <td width="70" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="images/sywesp_18.gif" class="f_6" style="cursor:pointer;" nowrap="nowrap" onclick="tdClick('<%=path %>/initMethodGraduationAndUpgradeAction.action');">毕业升级</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td width="70" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" background="<%=path %>/images/sywesp_18.gif" class="f_6" style="cursor:pointer;" nowrap="nowrap" onclick="tdClick('<%=path %>/toClassSectionTimesListClassSectionTimesAction.action');">课时管理</td>
                <td width="1" height="31" align="right" valign="bottom" bgcolor="#CBCBCB"></td>
              </tr>
            </table></td>
            <td align="left">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="left" valign="top" class="tb_8 border_2">
        
        <!-- 当前使用学科 -->
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="30" bgcolor="#FFFFFF">
               <span class="f_5">&nbsp;当前使用学科</span>
               </td>
              </tr>
            <tr>
              <td height="30" align="left" valign="top">
              
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="2" height="24" align="left" background="<%=path%>/images/sywesp_21.gif"><img src="<%=path%>/images/sywesp_20.gif" width="2" height="24" /></td>
                                <td align="left" background="<%=path%>/images/sywesp_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      
                                      <td width="13%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />编号</td>
                                      <td width="21%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />名称</td>
                                      <td width="47%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />开设此课的年级</td>
                                      <td width="7%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />序号</td>
                                      <td width="8%" align="left" class="f_8" nowrap="nowrap"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />
                                      操作
                                      </td>
                                     </tr>
                                </table></td>
                                <td width="4" align="right" background="<%=path%>/images/sywesp_21.gif"><img src="<%=path%>/images/sywesp_22.gif" width="4" height="24" /></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td align="left" valign="top">
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="25" align="left" valign="top">
                                <c:if test="${! empty CourseUserList}">
                                <c:forEach items="${CourseUserList}" var="courseUser">
                                <c:if test="${courseUser.status==1}">
                                <table width="100%" border="0" cellspacing="1" cellpadding="0"  class="tb_7">
                                    <tr>
                                     
                                      <td width="13%" height="25" align="left" valign="bottom">${courseUser.courseId }</td>
                                      <td width="21%" align="left" valign="bottom" class="f_5">
                                      <a href="javascript:initStage('${courseUser.courseId }','${courseUser.courseId }')" style="text-decoration: none" title="${GradeMap[courseUser.courseId] }"><img src="<%=path%>/images/bk_11.gif" width="15" height="15" align="absmiddle" border="0" style="text-decoration: none"/> ${courseUser.name}</a></td>
                                      <td width="47%" align="left" valign="bottom" >&nbsp;<c:if test="${empty GradeMap[courseUser.courseId]}"><font color="red">暂无年级，请点击修改图标指定年级</font></c:if>${GradeMap[courseUser.courseId] }</td>
                                      <td width="7%" valign="bottom">${courseUser.sort }</td>
                                      <td width="8%" valign="bottom" nowrap="nowrap">
                                      
                                      <a href="javascript:goAdd('${courseUser.courseId }');"><img src="<%=path%>/images/icon_15.gif" width="17" height="16" border="0" /></a> &nbsp;<a href="javascript:goUpdateParent('${courseUser.courseId }')"><img src="<%=path%>/images/icon_16.gif" width="12" height="14" border="0" /></a>&nbsp; <!-- <a href="javascript:doDelete('${courseUser.courseId }')" onclick="return window.confirm('确定删除此课程？')"><img src="<%=path%>/images/icon_11.gif" width="12" height="12" border="0" /></a> -->
                                      <a href="javascript:updateCourseStatus('${courseUser.courseId }','0');">停用</a>
                                      </td>
                                    </tr>
                                </table>
                                <div style="display: none" id="${courseUser.courseId }">
                                </div>
                                </c:if>
                                </c:forEach> 
                                </c:if>
                                </td>
                              </tr>
                            </table>
                              </td>
                        </tr>
                    </table></td>
                  </tr>
                  
              </table></td>
            </tr>
          </table>
          
          
          <!-- 备用学科 -->
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="30" bgcolor="#FFFFFF">
               <span class="f_5">&nbsp;备用学科</span>
               </td>
              </tr>
            <tr>
              <td height="30" align="left" valign="top">
              
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="2" height="24" align="left" background="<%=path%>/images/sywesp_21.gif"><img src="<%=path%>/images/sywesp_20.gif" width="2" height="24" /></td>
                                <td align="left" background="<%=path%>/images/sywesp_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      
                                      <td width="13%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />编号</td>
                                      <td width="21%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />名称</td>
                                      <td width="47%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />开设此课的年级</td>
                                      <td width="7%" align="left" class="f_8"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />序号</td>
                                      <td width="8%" align="left" class="f_8" nowrap="nowrap"><img src="<%=path%>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />
                                      操作
                                      </td>
                                     </tr>
                                </table></td>
                                <td width="4" align="right" background="<%=path%>/images/sywesp_21.gif"><img src="<%=path%>/images/sywesp_22.gif" width="4" height="24" /></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td align="left" valign="top">
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="25" align="left" valign="top">
                                <c:if test="${! empty CourseUserList}">
                                <c:forEach items="${CourseUserList}" var="courseUser">
                                <c:if test="${courseUser.status==0}">
                                <table width="100%" border="0" cellspacing="1" cellpadding="0"  class="tb_7">
                                    <tr>
                                     
                                      <td width="13%" height="25" align="left" valign="bottom">${courseUser.courseId }</td>
                                      <td width="21%" align="left" valign="bottom" class="f_5">
                                      <a href="javascript:initStage('${courseUser.courseId }','${courseUser.courseId }')" style="text-decoration: none" title="${GradeMap[courseUser.courseId] }"><img src="<%=path%>/images/bk_11.gif" width="15" height="15" align="absmiddle" border="0" style="text-decoration: none"/> ${courseUser.name}</a></td>
                                      <td width="47%" align="left" valign="bottom" >&nbsp;<c:if test="${empty GradeMap[courseUser.courseId]}"><font color="red">暂无年级，请点击修改图标指定年级</font></c:if>${GradeMap[courseUser.courseId] }</td>
                                      <td width="7%" valign="bottom">${courseUser.sort }</td>
                                      <td width="8%" valign="bottom" nowrap="nowrap">
                                      
                                      <a href="javascript:goAdd('${courseUser.courseId }');"><img src="<%=path%>/images/icon_15.gif" width="17" height="16" border="0" /></a> &nbsp;<a href="javascript:goUpdateParent('${courseUser.courseId }')"><img src="<%=path%>/images/icon_16.gif" width="12" height="14" border="0" /></a>&nbsp; <!-- <a href="javascript:doDelete('${courseUser.courseId }')" onclick="return window.confirm('确定删除此课程？')"><img src="<%=path%>/images/icon_11.gif" width="12" height="12" border="0" /></a> -->
                                      <a href="javascript:updateCourseStatus('${courseUser.courseId }','1');">启用</a>
                                      </td>
                                    </tr>
                                </table>
                                <div style="display: none" id="${courseUser.courseId }">
                                </div>
                                </c:if>
                                </c:forEach> 
                                </c:if>
                                </td>
                              </tr>
                            </table>
                              </td>
                        </tr>
                    </table></td>
                  </tr>
                  
              </table></td>
            </tr>
          </table>
          
          
          
          
          
          
          
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left" valign="top" class="tb_9 border_3">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="left"><img src="<%=path%>/images/icon_14.gif" width="62" height="17" /></td>
                </tr>
                <tr>
                  <td height="30" align="left" valign="bottom">请批量选择学科，然后点击“提交”按钮表示本单位启用选中学科。<br><img src="<%=path%>/images/icon_15.gif" width="17" height="16" border="0" /> 表示对当前分类添加子分类&nbsp;&nbsp;<img src="<%=path%>/images/icon_16.gif" width="12" height="14" border="0" /> 表示修改当前分类名称&nbsp;&nbsp;<img src="<%=path%>/images/icon_11.gif" width="12" height="12" border="0" /> 表示删除当前分类</td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          
          </td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
  </body>
</html>
